package com.qianfeng.openapi.web.master.service;


import com.qianfeng.openapi.web.master.dto.TableData;
import com.qianfeng.openapi.web.master.dto.TableParam;
import com.qianfeng.openapi.web.master.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/11/25
 * @Time: 上午10:30
 */
public interface SysUserService {

    public List<SysUser> sysUserList();

    public SysUser findByUsername(String username);

    public TableData findUserList(TableParam param);

    /**
     *  [
     *                             {value: 335, name: '直接访问'},
     *                             {value: 310, name: '邮件营销'},
     *                             {value: 274, name: '联盟广告'},
     *                             {value: 235, name: '视频广告'},
     *                             {value: 400, name: '搜索引擎'}
     *                         ]
     */
    public   List<Map<String,Object>>  findPibData();

    public   Map<String,Object>  findBarData();

}
